import Vue from "vue";
import App from "./App";
import router from "./router/index";
import store from "./store/index";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "./assets/css/main.css";
// import "babel-polyfill";
import VCharts from "v-charts";
import "./permission"

Vue.use(ElementUI, { size: "mini" });
Vue.use(VCharts);

/* eslint-disable no-new */
new Vue({
  el: "#root",
  router,
  store,
  render: (h) => h(App),
});
